home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global playOn, singStart, lastName
- puppetSprite(the clickOn, 1)
- set nom to the name of cast the castNum of sprite the clickOn
- if nom = "singBtn" then
- set the castNum of sprite the clickOn to the number of cast "stopBtn"
- updateStage()
- set playOn to 1
- set singStart to lastName
- set the visible of sprite 9 to 0
- set the visible of sprite 10 to 0
- else
- set the castNum of sprite the clickOn to the number of cast "singBtn"
- updateStage()
- if not soundBusy(2) then
- puppetSound(0)
- sound close 2
- end if
- set playOn to 0
- go(singStart)
- set the visible of sprite 9 to 1
- set the visible of sprite 10 to 1
- end if
- end
-